<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>意见反馈</title>
</head>
<style>
    input,button,select,textarea{padding:0;margin:0}
    input{
        background:none;
        outline:none;
        border:0px;
    }
    .fk{margin-bottom:10px;}

</style>
<script src="http://lib.sinaapp.com/js/jquery/1.9.1/jquery-1.9.1.min.js"></script>
<script>
    $(function(){
        $('#form')[0].reset();
        $('#submit').click(function(){

            var lianxi = $("input[name='lianxi']").val();
            var name = $("input[name='name']").val();
            var neirong = $("textarea[name='neirong']").val();

            $.ajax({
                type: "POST",
                url: "http://www.shierdao.net/v1/users/fankui",
                data: {"lianxi":lianxi, 'name':name, 'neirong':neirong},
                dataType: "json",
                success: function(data){
                    alert('提交成功');
                    $('#form')[0].reset();
                }
            });
        });
    });
</script>
<body>
<div class="fk">
    <form id="form">
        <input  type="text" style="width:100%;height:30px;border:1px solid #c3c3c3;border-radius: 5px;
-mo-border-radius: 5px; -webkit-border-radius: 5px;color:#EFEFEF" name="lianxi"  value="请输入您的手机号、用户名"/>

</div>
<div class="fk">
    <input  type="text" style="width:100%;height:30px;border:1px solid #c3c3c3;border-radius: 5px;
-mo-border-radius: 5px; -webkit-border-radius: 5px;color:#EFEFEF" name="name"  value="主要问题名称"/>
</div>
<div class="fk">
    <textarea name="neirong" style="width:100%;min-height:80px;border-bottom: 1px solid #c3c3c3;"></textarea>


</div>
<div style="margin-top:1%">
    <input id="submit" type="button" value="提交" style="width:100%;height:30px;list-style-type:none; background:#36a2e6;border-radius: 10px;
-mo-border-radius: 10px; -webkit-border-radius: 10px;color:#fff;"/>
</div>
</form>
</body>
</html>
